// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   WebTest.java

import java.io.*;

public class WebTest
{

    public WebTest()
    {
    }

    public static void main(String args[])
        throws IOException
    {
        for(int i = 0; i < Integer.valueOf(args[0]).intValue(); i++)
            saveVersion(String.valueOf(i));

    }

    private static void saveVersion(String version)
        throws IOException
    {
        String path = "/home/weblogic/";
        String fileName = "version.txt";
        FileWriter fw = new FileWriter((new StringBuilder(String.valueOf(path))).append(File.separator).append(fileName).toString());
        fw.write(version);
        fw.flush();
        fw.close();
    }
}
